package net.mikoo.seals.biz.mapper;

import java.util.List;

import org.mybatis.spring.annotation.MapperScan;

import net.mikoo.seals.model.Notice;
import net.mikoo.seals.model.NoticeQuery;

@MapperScan
public interface NoticeMapper {
	
	Integer insert(Notice notice);
	
	Integer update(Notice notice);
	
	Notice selectInfoById(Long noticeId);
	
	List<Notice> selectPageByQuery(NoticeQuery query);
	
	Integer countPageByQuery(NoticeQuery query);
	
	Notice selectInfoByQuery(NoticeQuery query);
	
	Integer delete(Notice notice);
	
	List<Notice> selectListByQuery(NoticeQuery query);
}